import java.util.List;

/**
 * 
 * Moises Florez and Peter Matano
 * 
 */
public class ConnectionDetails {
	int connectionID;
	private int deviceType;
	private boolean connectionOpened;
	private boolean connectionClosed;
	private boolean readyRead;
	private boolean readyWrite;
	private int readTo_N_Value;
	private int readToAddress;
	private int readTotal_N_Count;
	private int writeFrom_N_Value;
	private int writeFromAddress;
	private int index;
	private List<BlockReadWriteDetails> readWriteDetailList;
	private int writtenToBlockNumber;

	public int getDeviceType() {
		return deviceType;
	}

	public void setDeviceType(int deviceType) {
		this.deviceType = deviceType;
	}

	public int getConnectionID() {
		return connectionID;
	}

	public void setConnectionID(int connectionID) {
		this.connectionID = connectionID;
	}

	public int getReadToAddress() {
		return readToAddress;
	}

	public void setReadToAddress(int readToAddress) {
		this.readToAddress = readToAddress;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public boolean isReadyRead() {
		return readyRead;
	}

	public void setReadyRead(boolean readyRead) {
		this.readyRead = readyRead;
	}

	public boolean isReadyWrite() {
		return readyWrite;
	}

	public void setReadyWrite(boolean readyWrite) {
		this.readyWrite = readyWrite;
	}

	public int getWriteFromAddress() {
		return writeFromAddress;
	}

	public void setWriteFromAddress(int writeFromAddress) {
		this.writeFromAddress = writeFromAddress;
	}

	public boolean isConnectionOpened() {
		return connectionOpened;
	}

	public void setConnectionOpened(boolean connectionOpened) {
		this.connectionOpened = connectionOpened;
	}

	public boolean isConnectionClosed() {
		return connectionClosed;
	}

	public void setConnectionClosed(boolean connectionClosed) {
		this.connectionClosed = connectionClosed;
	}

	public int getReadTo_N_Value() {
		return readTo_N_Value;
	}

	public void setReadTo_N_Value(int readTo_N_Value) {
		this.readTo_N_Value = readTo_N_Value;
	}

	public int getWriteFrom_N_Value() {
		return writeFrom_N_Value;
	}

	public void setWriteFrom_N_Value(int writeFrom_N_Value) {
		this.writeFrom_N_Value = writeFrom_N_Value;
	}

	public int getReadTotal_N_Count() {
		return readTotal_N_Count;
	}

	public void setReadTotal_N_Count(int readTotal_N_Count) {
		this.readTotal_N_Count = readTotal_N_Count;
	}

	public List<BlockReadWriteDetails> getReadWriteDetailList() {
		return readWriteDetailList;
	}

	public void setReadWriteDetailList(List<BlockReadWriteDetails> readWriteDetailList) {
		this.readWriteDetailList = readWriteDetailList;
	}

	public int getWrittenToBlockNumber() {
		return writtenToBlockNumber;
	}

	public void setWrittenToBlockNumber(int writtenToBlockNumber) {
		this.writtenToBlockNumber = writtenToBlockNumber;
	}

}
